package com.koron.order.LineHomepage.bean.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @ClassName: LineOperationReportExcel
 * @Description:
 * @Date: 2023/2/22
 * @Author: 李一辰
 * @Version: 1.0
 **/
@Data
@EqualsAndHashCode
@HeadRowHeight(24)
@ContentRowHeight(27)
@ColumnWidth(20)
@HeadStyle(fillForegroundColor =  44)
@NoArgsConstructor
public class LineOperationReportExcel {

    @ExcelProperty(value = {"线路名称","线路名称"},index = 0)
    @ApiModelProperty("线路名称")
    private String equipmentName;
    @ExcelProperty(value = {"跳闸次数","跳闸次数"},index = 1)
    @ApiModelProperty("跳闸次数")
    private Integer tripTimes;

    /**
     * 线路停电检修次数
     */
    @ExcelProperty(value = {"线路停电检修次数","总次数"},index = 2)
    @ApiModelProperty("线路停电检修次数-总次数")
    private Integer lineTotal;
    @ExcelProperty(value={"线路停电检修次数","计划停电"},index=3)
    @ApiModelProperty("线路停电检修次数-计划停电次数")
    private Integer lineCut;
    @ExcelProperty(value={"线路停电检修次数","非计划停电次数"},index=4)
    @ApiModelProperty("线路停电检修次数-非计划停电次数")
    private Integer lineNonCut;

    /**
     * 缺陷新发现量
     */
    @ExcelProperty(value={"缺陷新发现量","总缺陷数"},index=5)
    @ApiModelProperty("缺陷新发现量-总缺陷数")
    private  Integer defectNew;
    @ExcelProperty(value={"缺陷新发现量","停电处理"},index=6)
    @ApiModelProperty("缺陷新发现量-停电处理")
    private Integer defect00New;
    @ExcelProperty(value={"缺陷新发现量","不停电处理"},index=7)
    @ApiModelProperty("缺陷新发现量-非停电处理")
    private Integer defect01New;

    /**
     * 上月缺陷总数
     */
    @ExcelProperty(value={"上月缺陷总数","总缺陷数"},index=8)
    @ApiModelProperty("上月缺陷-总缺陷数")
    private Integer defectTotalLast;
    @ExcelProperty(value={"上月缺陷总数","停电处理"},index=9)
    @ApiModelProperty("上月缺陷-停电处理")
    private Integer defectLast00;
    @ExcelProperty(value={"上月缺陷总数","非停电处理"},index=10)
    @ApiModelProperty("上月缺陷-非停电处理")
    private Integer defectLast01;

    /**
     * 消缺情况统计
     */
    @ExcelProperty(value={"消缺情况","总缺陷数"},index=11)
    @ApiModelProperty("消缺总数")
    private Integer defectTotal;
    @ExcelProperty(value={"消缺情况","停电处理"},index=12)
    @ApiModelProperty("消缺总数-停电处理")
    private Integer defect00;
    @ExcelProperty(value={"消缺情况","非停电处理"},index=13)
    @ApiModelProperty("消缺总数-非停电处理")
    private Integer defect01;

    /**
     * 本月缺陷总数
     */
    @ExcelProperty(value={"本月缺陷总数","总缺陷数"},index=14)
    @ApiModelProperty("本月缺陷总数-总缺陷数")
    private Integer defectTotalThis;
    @ExcelProperty(value={"本月缺陷总数","停电处理"},index=15)
    @ApiModelProperty("本月缺陷总数-停电处理")
    private Integer defectThis00;
    @ExcelProperty(value={"本月缺陷总数","非停电处理"},index=16)
    @ApiModelProperty("本月缺陷总数-非停电处理")
    private Integer defectThis01;
    @ExcelProperty(value={"线路运行评价","线路运行评价"},index=17)
    @ApiModelProperty("线路运行评价")
    private String evaluate;
    @ExcelProperty(value={"备注","备注"},index=18)
    @ApiModelProperty("备注")
    private String remark;
}
